<template>
  <div class="flow-row">
    <div class="flow-box">
      <div class="flow-item">
        <div class="node-name node-start">开始</div>
      </div>
      <FlowAddNode :node="node" :nodeType="0" :readable="readable" />
    </div>
  </div>
</template>
<script setup name="FlowStartNode">

import {defineProps,toRefs,createApp} from 'vue';
import flowhook from '@/components/mixins/flowhook';
import FlowAddNode from '../Add/addButton.vue';

  /* 组件局部注册 */
const app = createApp({});


  const props = defineProps({
    node: {
        type: Object,
        default: function() {
          return {};
        },
      },
      readable: {
        type: Boolean,
        default: true,
      },
  })

const {node,readable} = toRefs(props);

</script>
